/*      **********              Java example code snippet; code(9)              **********         */
                Writer writer = new FileWriter(fileName);
/*                                      a new writer Object with a specified file name          ...*/
                SyndFeedOutput output = new SyndFeedOutput(); /*new output Object        */
                output.output(feed,writer);           /* outputs the feed to the file             */
                writer.close();

                System.out.println("The feed has been written to the file ["+fileName+"]");
/*      **************************************************************************************     */